//
//  BuildingShareViewController.m
//  Kfangchan
//
//  Created by liran on 14/12/8.
//  Copyright (c) 2014年 Beijing Renjuren Network Technology Co., Ltd. All rights reserved.
//

#import "BuildingShareViewController.h"

@interface BuildingShareViewController ()

@property (strong, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation BuildingShareViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationController.navigationBarHidden = YES;
    showLoadingView();
    self.webView.size = theApp.window.bounds.size;
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.url]]];}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

#pragma mark -
#pragma mark WebViewDelegate
- (void)webViewDidFinishLoad:(UIWebView *)webView{
    hideLoadingView();
}

- (IBAction)back:(id)sender {
    [self dismissViewControllerAnimated:YES completion:nil];
}

@end
